package com.xqboss.apps.enums.Material;

import com.xqboss.common.enums.BaseEnum;

/**
 * @author ljh
 * @date 2024/1/29
 */
public enum MaterialTypeEnum implements BaseEnum<Integer> {
    TYPE_HOTBEANS(1, "热豆", "GETABREAK_HOTBEANS"),
    TYPE_WRENCH(2, "扳手", "GETABREAK_WRENCH"),
    TYPE_LIDOU(3, "力豆", "GETABREAK_LIDOU"),
            ;

    private Integer value;
    private String msg;

    private String code;

    MaterialTypeEnum(Integer value, String desc, String code){
        this.value = value;
        this.msg = desc;
        this.code = code;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    public String getCode() {
        return code;
    }
}
